-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency dagger/dagger to v0.14.0 #43
base: main
Are you sure you want to change the base?
Conversation
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
d977e7c
to
5006d69
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
5006d69
to
2e03240
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
2e03240
to
613c03a
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
613c03a
to
e5ea09d
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
e5ea09d
to
6fba77c
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
6fba77c
to
d9c5ff1
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
d9c5ff1
to
10da7d3
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
10da7d3
to
fa57640
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
fa57640
to
cba8da4
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
cba8da4
to
ef88acf
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
0668422
to
a18baa5
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
a18baa5
to
14e3f14
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
14e3f14
to
d4e1452
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
d4e1452
to
3bfcd24
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
3bfcd24
to
db3c584
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
db3c584
to
87a660d
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
87a660d
to
bd69222
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
bd69222
to
bc3cc03
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
bc3cc03
to
821d9dd
Compare
Terraform Format and Style 🖌``Terraform Initialization ⚙️
|
This PR contains the following updates:
0.2.36
->0.14.0
Release Notes
dagger/dagger (dagger/dagger)
v0.14.0
Compare Source
🔥 Breaking Changes
dagger-engine
core GraphQL query toengine
by @marcosnils in https://github.com/dagger/dagger/pull/8568Container.withFocus
andContainer.withoutFocus
by @jedevc in https://github.com/dagger/dagger/pull/8647Added
Fixed
What to do next?
v0.13.7
Compare Source
Added
expect
arg forContainer.withExec
by @jedevc in https://github.com/dagger/dagger/pull/8466This enum arg allows specifying valid return statuses for which the command
can return without failing immediately.
Container.exitCode
field to get the exit code of the lastwithExec
by @jedevc in https://github.com/dagger/dagger/pull/8466Changed
The new policies attempt to co-operate with other applications using the disk
and will adjust its cache usage accordingly.
Previously, when a function chain in
dagger call
ended in an object, we'dprint all functions that return a simple value and don't have any arguments.
Now, only object fields will be included, not all functions.
Fixed
withExec
s using theExperimentalPrivilegedNesting
flag by @sipsma in https://github.com/dagger/dagger/pull/8776What to do next?
v0.13.6
Compare Source
Added
Show metrics for execs in TUI by @sipsma in https://github.com/dagger/dagger/pull/8506
The engine now supports collecting metrics from individual execs and publishing them as OTel metrics.
To start, just disk read/write byte totals and CPU/IO pressure time are supported, but more like memory/network/etc, will be added soon.
Currently, metrics will be displayed in the TUI at verbosity level 4 (
-vvv
).Changed
dagger init
defaults to use.dagger
folder during if current directory.
is not empty by @rajatjindal in https://github.com/dagger/dagger/pull/8557dagger install
now preserves the original source input, and tracks a separatepin
field for the exact remote commit by @jedevc in https://github.com/dagger/dagger/pull/8587Fixed
Allow custom enums that include ambiguous names (such as
true
/false
) by @jedevc in https://github.com/dagger/dagger/pull/8682Optimize
Container.from
for image refs with digests by @sipsma in https://github.com/dagger/dagger/pull/8736Previously, if
Container.from
was given an image ref with a digest and that image already existed in the local cache, the engine would still waste time resolving metadata over the network from the registry.Now, if a digested image ref already exists locally, the network requests are skipped entirely.
Allow cloning hidden commits that are not fetched as part of a normal clone by @jedevc in https://github.com/dagger/dagger/pull/8747
For example,
refs/pull/<pr>/head
, orrefs/pull/<pr>/merge
.Speed up fully cached initialize time by caching more internal SDK operations by @sipsma in https://github.com/dagger/dagger/pull/8735
Dagger wasn't caching as many SDK operations as it could. With this change Dagger's own CI modules initialize ~1s faster when fully cached.
Speed up initialization of modules with lots of dependencies using the Go SDK in engines with no cache by @sipsma in https://github.com/dagger/dagger/pull/8761
Various dependencies of Go SDK modules are now pre-cached in the engine image, which avoids significant CPU pressure when building Go SDK modules in parallel with no cache.
The engine image size increase is expected to be offset by these improvements.
What to do next?
v0.13.5
Compare Source
Fixed
MarshalJSON
error ingit
API when called by older module versions by @jedevc in https://github.com/dagger/dagger/pull/8667What to do next?
v0.13.4
Compare Source
🔥 Breaking Changes
.git
directory by @jedevc in https://github.com/dagger/dagger/pull/8318This can be disabled with
tree
's newdiscardGitDir
option. Modules witholder
engineVersion
s will keep the old behavior.git
'skeepGitDir
argument by @jedevc in https://github.com/dagger/dagger/pull/8318Added
Services can now be given an explicit hostname via
Service.withHostname
by @vito in https://github.com/dagger/dagger/pull/8641Previously, you could only express a DAG of services, because each service
hostname was derived from the service's configuration, and changing a service
to point to another service would inherently change that service's
configuration.
Now you can set your own hostnames ahead of time, tell your services about
each other's hostnames, and start they manually.
Services with custom hostnames are namespaced to the module that starts them, to prevent conflicts.
Allow expanding environment variables in more
Container
functions by @rajatjindal in https://github.com/dagger/dagger/pull/8427Apply
ignore
function parameter metadata on Directory passed from the CLI by @TomChv in https://github.com/dagger/dagger/pull/8436This extends the usage of
ignore
to not only dir loaded withdefaultPath
but directory passed as function's param from the CLI.
Note: ignore patterns are not applied for module to module calls.
Enabled
Container.withMountedTemp
size configuration by @cwlbraa in https://github.com/dagger/dagger/pull/8652Add
noInit
option toContainer.withExec
to support disabling automatic init process by @sipsma in https://github.com/dagger/dagger/pull/8656Use cases that strictly require the user exec is PID 1 of the container are
now supported by setting
noInit
to true.Fixed
Export
andAsTarball
by @jedevc in https://github.com/dagger/dagger/pull/8543What to do next?
v0.13.3
Compare Source
Fixed
What to do next?
v0.13.2
Compare Source
Added
Container.up
API by @rajatjindal in https://github.com/dagger/dagger/pull/8479This is an alias to
.AsService().Up()
.Fixed
What to do next?
v0.13.1
Compare Source
Added
Container.withoutFiles
andDirectory.withoutFiles
by @jedevc in https://github.com/dagger/dagger/pull/8216Container.withAnnotation
to set OCI annotations by @aluzzardi in https://github.com/dagger/dagger/pull/8409ignore
combined withdefaultPath
now works if the module is fetch from git instead of local by @TomChv in https://github.com/dagger/dagger/pull/8430Directory.withoutFiles
andContainer.withoutFiles
core APIs by @jedevc in https://github.com/dagger/dagger/pull/8216These can be used to remove multiple files from a filesystem in one call.
Fixed
Directory.digest
on scratch directory by @jedevc in https://github.com/dagger/dagger/pull/8445dagger.Secret
by @helderco in https://github.com/dagger/dagger/pull/8468What to do next?
v0.13.0
Compare Source
🔥 Breaking Changes
Container.withExec
'sskipEntrypoint
argument - this is now the default (seeuseEntrypoint
)pipeline
,Container.pipeline
andDirectory.pipeline
GitModuleSource.cloneURL
(seeGitModuleSource.cloneRef
)Added
Directory.digest
andModuleSource.digest
fields by @jedevc in https://github.com/dagger/dagger/pull/8282These fields mirror the behavior of the
File.digest
field, computing aunique cryptographic digest over the contents of the object.
--no-exit
/-E
so you can poke around after the call completes by @vito in https://github.com/dagger/dagger/pull/8389Changed
Also, the url will be printed only for a subset of dagger commands to reduce noise.
Connecting to a distant remote engine could otherwise fail if it was not reachable in 1s.
Fixed
Previously, if a field access was made immediately after the default constructor was called, then the access would fail.
Carriage returns could previously render weirdly in the output, displaying empty lines, and similar visual glitches.
Platform
flag by @helderco in https://github.com/dagger/dagger/pull/8360What to do next?
v0.12.7
Compare Source
Fixed
Git.tags
URL parsing consistent withGit.tree
by @jedevc in https://github.com/dagger/dagger/pull/8298php
orelixir
sdk by @rajatjindal in https://github.com/dagger/dagger/pull/8297What to do next?
v0.12.6
Compare Source
Added
This allows accessing their own source directory, without needing to
explicitly pass directories around.
--interactive-command
for overriding the default command used in interactive mode by @samalba in https://github.com/dagger/dagger/pull/8171Fixed
The file-not-found errors were previously silently ignored for the top-level
module passed in the CLI.
failed to get repo HEAD
CLI error by @jedevc in https://github.com/dagger/dagger/pull/8189Container.withExec
after usingwithMountedTemp
orwithMountedSecret
by @jedevc in https://github.com/dagger/dagger/pull/8180What to do next?
v0.12.5
Compare Source
Added
cli: allow calling core functions directly by @helderco in https://github.com/dagger/dagger/pull/7310
Usage:
dagger core <function>
Example:
dagger core container from --address=alpine terminal
Works the same as
dagger call
, but instead of loading a user module,it only uses functions from the core API.
Run
dagger core --help
for available functions.Note that this command is experimental and the DX for calling core functions
in the CLI may change in the future.
New SDK aliases for
elixir
andphp
by @jedevc in https://github.com/dagger/dagger/pull/8067SDKs with experimental module support (elixir and php) can now be accessed
using
--sdk=<sdk>
(such as--sdk=elixir
and--sdk=php
respectively)instead of the full form
--sdk=github.com/dagger/dagger/sdk/<sdk>@​<version>
.Add
File.digest
method by @TomChv in https://github.com/dagger/dagger/pull/8114This method provides an efficient way to compute a file's digest, which
unlock optimized file comparison or check for file changes.
Bundle CLI in the Engine image so that both parts of Dagger (CLI+Engine) ship as a single artefact by @gerhard in https://github.com/dagger/dagger/pull/8147
Changed
Fixed
Directory.glob
to correctly handle globs with subdir prefixes by @jedevc in https://github.com/dagger/dagger/pull/8110Previously, attempting to glob with a prefix subdir in a pattern like
<subdir>/*
would not match any files. This should now be fixed, and filesin
<subdir>
will now be correctly matched.failed to collect IDs from parent fields
error when module objects contain fields with nil values by @jedevc/@sipsma in https://github.com/dagger/dagger/pull/8132Previously, modules would fail to launch if they declared a constructor that
contained a reference to a type from it's own module in it's args.
Previously, function calls that defined an optional argument would not be
callable.
What to do next?
v0.12.4
Compare Source
Changed
pipeline
APIs by @jedevc in https://github.com/dagger/dagger/pull/8064These operations have been no-ops since v0.11.0, and will be removed in v0.13.0.
Fixed
terminal
prompt with debian-based images by @vmaffet in https://github.com/dagger/dagger/pull/7960--progress=plain
output by @jedevc in https://github.com/dagger/dagger/pull/7956Our support for Azure refs was broken on monorepos. We special-case Azure
DevOps since it doesn't work with the go standard convention of discovering
the root of a git repository
What to do next?
v0.12.3
Compare Source
Added
Fixed
What to do next?
v0.12.2
Compare Source
Changed
dagger init
now generates files in the current directory by default and no longer in./dagger
by @TomChv in https://github.com/dagger/dagger/pull/7824Fixed
What to do next?
v0.12.1
Compare Source
Added
Socket
s as arguments from the CLI to Functions by @sipsma in https://github.com/dagger/dagger/pull/7804--compat
flag for develop to target a specific api version by @jedevc in https://github.com/dagger/dagger/pull/7948Changed
dagger version
/dagger login
/dagger logout
/etc by @jedevc in https://github.com/dagger/dagger/pull/7928Fixed
@
in local module name by @grouville in https://github.com/dagger/dagger/pull/7891dagger version
sometimes disappearing by @jedevc in https://github.com/dagger/dagger/pull/7919What to do next?
v0.12.0
Compare Source
This release is significant. All details (including videos & code examples)
are captured in this blog post.
🔥 Breaking Changes
See the SDK-specific release notes for more information.
Container.withNewFile
signature withDirectory.withNewFile
by @helderco in https://github.com/dagger/dagger/pull/7293Callers of
Container.withNewFile
will need to changecontents
from optional to required argument.withExec
by @helderco in https://github.com/dagger/dagger/pull/7136Callers relying on a
Container
's entrypoint will need to be updatedto opt-in with
useEntrypoint
.Container.stdout
andContainer.stderr
by @helderco in https://github.com/dagger/dagger/pull/7857Callers of
stdout
andstderr
without a previouswithExec
will need toinsert an explicit empty
withExec
.Container.terminal
now returns aContainer
by @aluzzardi in https://github.com/dagger/dagger/pull/7586Callers of
terminal
will need be updated to handle the updated type.Callers expecting a boolean return will need to be updated to instead
handle a string path.
sshAuthSocket
andsshKnownHosts
args fromGitRef.tree
by @jedevc in https://github.com/dagger/dagger/pull/6934Callers should instead attach these arguments onto the top-level
git
call.id
parameters forcontainer
,directory
andsocket
by @jedevc in https://github.com/dagger/dagger/pull/6934Users of these parameters should instead use the standalone
loadContainerFromID
,loadDirectoryFromID
andloadSocketFromID
respectively.
checkVersionCompatibility
field (versioning checks are now automatically performed on all connections) by @jedevc in https://github.com/dagger/dagger/pull/7751Versioning checks are now all automatically performed on all connections, and
never need to be manually performed through the API.
Upgrade Instructions
Thanks to the new compatibility mode feature, these breaking changes should not
impact any existing Modules immediately.
dagger call
should still work onv0.12.0 without any changes to your Module code (any compat issues for modules
are likely a bug, please report!)
After upgrading to Engine v0.12.0, you can upgrade your Module to use the
latest v0.12.0 APIs by running
dagger develop
. That will update theengineVersion
field of your module'sdagger.json
configuration file tov0.12.0
and enable the new APIs.After that, if your code is impacted by any of the breaking changes, you will
see errors when running
dagger call
. Once the errors are fixed,dagger call
will work again and your module can be updated in Daggerverse if desired.
More detailed instructions on addressing the individual API incompatible
changes can be found in the PR descriptions linked above.
Added
terminal
can be inserted into the middle ofContainer
andDirectory
pipelines to pop an interactive shell by @aluzzardi in https://github.com/dagger/dagger/pull/7586-q
flag andDAGGER_QUIET=1
to restore previous verbosity default by @vito in https://github.com/dagger/dagger/pull/7822~
) in file, directory and secret file argument by @wingyplus in https://github.com/dagger/dagger/pull/7818Changed
dagger call
by @helderco in https://github.com/dagger/dagger/pull/7479Fixed
LICENSE
only if--sdk
is set ondagger develop
by @TomChv in https://github.com/dagger/dagger/pull/7719What to do next?
v0.11.9
Compare Source
Fixed
What to do next?
v0.11.8
Compare Source
🔥Breaking Changes
Added
Changed
Fixed
Dependencies
What to do next?
v0.11.7
Compare Source
🔥 Breaking Changes
File
instead of string for improved performance by @sipsma in https://github.com/dagger/dagger/pull/7549Changed
Fixed
File.export
to local Windows client by @wingyplus in https://github.com/dagger/dagger/pull/7564What to do next?
v0.11.6
Compare Source
Added
withName
method to File by @TomChv in https://github.com/dagger/dagger/pull/7491Fixed
--help
by @helderco in https://github.com/dagger/dagger/pull/7417What to do next?
v0.11.5
Compare Source
Added
dagger login
cloud traces support by @aluzzardi in https://github.com/dagger/dagger/pull/7125--progress=plain
implementation for better visibility by @jedevc in https://github.com/dagger/dagger/pull/7272Changed
Fixed
--help
by @helderco in https://github.com/dagger/dagger/pull/7417What to do next?
v0.11.4
Compare Source
Fixed
What to do next?
v0.11.3
Compare Source
🔥 Breaking Changes
Added
Container.withoutSecretVariable
by @helderco in https://github.com/dagger/dagger/pull/7291Container.withoutDirectory
andContainer.withoutFile
by @helderco in https://github.com/dagger/dagger/pull/7292Changed
--help
by @grouville in https://github.com/dagger/dagger/pull/7262--help
by @grouville in https://github.com/dagger/dagger/pull/7143dagger call --help
by @helderco in https://github.com/dagger/dagger/pull/7286Fixed
Container.platform
correctly when usingContainer.from
by @marcosnils in https://github.com/dagger/dagger/pull/7298failed to get state for index
errors by @sipsma in https://github.com/dagger/dagger/pull/7295 https://github.com/dagger/dagger/pull/7309What to do next?
v0.11.2
Compare Source
Added
Changed
Fixed
--help
after arguments indagger functions
by @helderco in https://github.com/dagger/dagger/pull/7187What to do next?
v0.11.1
Compare Source
Added
withAuthToken
andwithAuthHeader
fields toGitRepository
by @jedevc in https://github.com/dagger/dagger/pull/6992Fixed
plain
progress output after removal in v0.11.0 by @morlay in https://github.com/dagger/dagger/pull/7069What to do next?
v0.11.0
Compare Source
🔥 Breaking Changes
--focus
CLI flag removed by @vito in https://github.com/dagger/dagger/pull/6835Added
Head
field toGitRepository
to get the default branch by @jedevc in https://github.com/dagger/dagger/pull/6994Fixed
DOCKER_HOST
not working whenDAGGER_CLOUD_TOKEN
set by @sipsma in https://github.com/dagger/dagger/pull/7006What to do next?
[
v0.10.3
](https://redirect.github.com/dagger/dagger/bConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.